package com.yn.club.subject.domain.convert;

import java.time.LocalDateTime;
import java.util.List;
import com.yn.club.subject.domain.entity.SubjectLabelDO;
import com.yn.club.subject.infra.basic.entity.SubjectLabel;

import org.mapstruct.Mapper;
import com.yn.club.common.util.MapStructUtil;
/**
 * 题目标签表(SubjectLabel)DO和Entity转换
 *
 * @author YN
 * @since 2025-01-21 17:36:34
 */
@Mapper(componentModel = "spring", uses = {MapStructUtil.class})
public interface SubjectLabelDomainConverter {

  SubjectLabel convertDoToEntity(SubjectLabelDO ojb);
  
  List<SubjectLabel> convertDoToEntity(List<SubjectLabelDO> ojbs);
  
  SubjectLabelDO convertEntityToDo(SubjectLabel ojb);
  
  List<SubjectLabelDO> convertEntityToDo(List<SubjectLabel> ojbs);
  
  
}

